﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000C2B RID: 3115
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MuseumTargetMissionFinishNotify : IMessage<MuseumTargetMissionFinishNotify>, IMessage, IEquatable<MuseumTargetMissionFinishNotify>, IDeepCloneable<MuseumTargetMissionFinishNotify>, IBufferMessage
	{
		// Token: 0x17002740 RID: 10048
		// (get) Token: 0x06008B3C RID: 35644 RVA: 0x001727D9 File Offset: 0x001709D9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MuseumTargetMissionFinishNotify> Parser
		{
			get
			{
				return MuseumTargetMissionFinishNotify._parser;
			}
		}

		// Token: 0x17002741 RID: 10049
		// (get) Token: 0x06008B3D RID: 35645 RVA: 0x001727E0 File Offset: 0x001709E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MuseumTargetMissionFinishNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002742 RID: 10050
		// (get) Token: 0x06008B3E RID: 35646 RVA: 0x001727F2 File Offset: 0x001709F2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MuseumTargetMissionFinishNotify.Descriptor;
			}
		}

		// Token: 0x06008B3F RID: 35647 RVA: 0x001727F9 File Offset: 0x001709F9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MuseumTargetMissionFinishNotify()
		{
		}

		// Token: 0x06008B40 RID: 35648 RVA: 0x0017280C File Offset: 0x00170A0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MuseumTargetMissionFinishNotify(MuseumTargetMissionFinishNotify other) : this()
		{
			this.gMOJJNBEIFL_ = other.gMOJJNBEIFL_;
			this.lNFDEFNJOKJ_ = other.lNFDEFNJOKJ_;
			this.gIBEGFHBEFD_ = other.gIBEGFHBEFD_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008B41 RID: 35649 RVA: 0x00172859 File Offset: 0x00170A59
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MuseumTargetMissionFinishNotify Clone()
		{
			return new MuseumTargetMissionFinishNotify(this);
		}

		// Token: 0x17002743 RID: 10051
		// (get) Token: 0x06008B42 RID: 35650 RVA: 0x00172861 File Offset: 0x00170A61
		// (set) Token: 0x06008B43 RID: 35651 RVA: 0x00172869 File Offset: 0x00170A69
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GMOJJNBEIFL
		{
			get
			{
				return this.gMOJJNBEIFL_;
			}
			set
			{
				this.gMOJJNBEIFL_ = value;
			}
		}

		// Token: 0x17002744 RID: 10052
		// (get) Token: 0x06008B44 RID: 35652 RVA: 0x00172872 File Offset: 0x00170A72
		// (set) Token: 0x06008B45 RID: 35653 RVA: 0x0017287A File Offset: 0x00170A7A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool LNFDEFNJOKJ
		{
			get
			{
				return this.lNFDEFNJOKJ_;
			}
			set
			{
				this.lNFDEFNJOKJ_ = value;
			}
		}

		// Token: 0x17002745 RID: 10053
		// (get) Token: 0x06008B46 RID: 35654 RVA: 0x00172883 File Offset: 0x00170A83
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> GIBEGFHBEFD
		{
			get
			{
				return this.gIBEGFHBEFD_;
			}
		}

		// Token: 0x06008B47 RID: 35655 RVA: 0x0017288B File Offset: 0x00170A8B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MuseumTargetMissionFinishNotify);
		}

		// Token: 0x06008B48 RID: 35656 RVA: 0x0017289C File Offset: 0x00170A9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MuseumTargetMissionFinishNotify other)
		{
			return other != null && (other == this || (this.GMOJJNBEIFL == other.GMOJJNBEIFL && this.LNFDEFNJOKJ == other.LNFDEFNJOKJ && this.gIBEGFHBEFD_.Equals(other.gIBEGFHBEFD_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008B49 RID: 35657 RVA: 0x001728FC File Offset: 0x00170AFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.GMOJJNBEIFL != 0U)
			{
				num ^= this.GMOJJNBEIFL.GetHashCode();
			}
			if (this.LNFDEFNJOKJ)
			{
				num ^= this.LNFDEFNJOKJ.GetHashCode();
			}
			num ^= this.gIBEGFHBEFD_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008B4A RID: 35658 RVA: 0x00172962 File Offset: 0x00170B62
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008B4B RID: 35659 RVA: 0x0017296A File Offset: 0x00170B6A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008B4C RID: 35660 RVA: 0x00172974 File Offset: 0x00170B74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.LNFDEFNJOKJ)
			{
				output.WriteRawTag(40);
				output.WriteBool(this.LNFDEFNJOKJ);
			}
			this.gIBEGFHBEFD_.WriteTo(ref output, MuseumTargetMissionFinishNotify._repeated_gIBEGFHBEFD_codec);
			if (this.GMOJJNBEIFL != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.GMOJJNBEIFL);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06008B4D RID: 35661 RVA: 0x001729E0 File Offset: 0x00170BE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.GMOJJNBEIFL != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GMOJJNBEIFL);
			}
			if (this.LNFDEFNJOKJ)
			{
				num += 2;
			}
			num += this.gIBEGFHBEFD_.CalculateSize(MuseumTargetMissionFinishNotify._repeated_gIBEGFHBEFD_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008B4E RID: 35662 RVA: 0x00172A40 File Offset: 0x00170C40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MuseumTargetMissionFinishNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.GMOJJNBEIFL != 0U)
			{
				this.GMOJJNBEIFL = other.GMOJJNBEIFL;
			}
			if (other.LNFDEFNJOKJ)
			{
				this.LNFDEFNJOKJ = other.LNFDEFNJOKJ;
			}
			this.gIBEGFHBEFD_.Add(other.gIBEGFHBEFD_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008B4F RID: 35663 RVA: 0x00172AA1 File Offset: 0x00170CA1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06008B50 RID: 35664 RVA: 0x00172AAC File Offset: 0x00170CAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 64U)
				{
					if (num == 40U)
					{
						this.LNFDEFNJOKJ = input.ReadBool();
						continue;
					}
					if (num == 64U)
					{
						goto IL_3F;
					}
				}
				else
				{
					if (num == 66U)
					{
						goto IL_3F;
					}
					if (num == 112U)
					{
						this.GMOJJNBEIFL = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				continue;
				IL_3F:
				this.gIBEGFHBEFD_.AddEntriesFrom(ref input, MuseumTargetMissionFinishNotify._repeated_gIBEGFHBEFD_codec);
			}
		}

		// Token: 0x04003535 RID: 13621
		private static readonly MessageParser<MuseumTargetMissionFinishNotify> _parser = new MessageParser<MuseumTargetMissionFinishNotify>(() => new MuseumTargetMissionFinishNotify());

		// Token: 0x04003536 RID: 13622
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003537 RID: 13623
		public const int GMOJJNBEIFLFieldNumber = 14;

		// Token: 0x04003538 RID: 13624
		private uint gMOJJNBEIFL_;

		// Token: 0x04003539 RID: 13625
		public const int LNFDEFNJOKJFieldNumber = 5;

		// Token: 0x0400353A RID: 13626
		private bool lNFDEFNJOKJ_;

		// Token: 0x0400353B RID: 13627
		public const int GIBEGFHBEFDFieldNumber = 8;

		// Token: 0x0400353C RID: 13628
		private static readonly FieldCodec<uint> _repeated_gIBEGFHBEFD_codec = FieldCodec.ForUInt32(66U);

		// Token: 0x0400353D RID: 13629
		private readonly RepeatedField<uint> gIBEGFHBEFD_ = new RepeatedField<uint>();
	}
}
